home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Cream of the Crop 1
/
Cream of the Crop 1.iso
/
EDUCATE
/
PCSHX10B.ARJ
/
PCSHX10B.EXE
/
UTILS.EXE
/
UTILDOCS.EXE
/
READLESS.DOS
< prev
next >
Wrap
Text File
|
1980-01-03
|
2KB
|
50 lines
Port of less to msdos:
Less is a program similar to the Unix more command but is much more
useful. Read less.man for a good description of less and what it can
do for you.
The files included here will result in a essentially full version of less
for use on msdos. This version of less has been used on an IBM AT by
myself for a while and seems to work just fine.
The following must be done to have less.exe work in its full glory:
1. Less has a v command that lets you enter an editor from
within less to edit the file that you are viewing at the
time. The default is memacs which was taken from the Unix
mod.sources. If you don't have it use the dos set command
as follows to let less know which it is:
set editor=your_editor
It is best to include the set commands in your autoexec.bat.
2. Less is a very useful utility. Read less.man and when in
less the h command will put a description of the commands
on the screen for you.
3. Less uses the spawn function. This means that you can use
the ! command and a swchar program that allows you to use
the / rather than the \ character. Either should work.
4. The source code for less is available by contacting me at
the address below. Their is a lot of code so don't ask for
it unless it would be of use to you. The compiler used was
Microsoft version 4.0. (3.0 will be okay too - rename
function was not used).
5. Please report any problems when using this program. All
comments good or bad will be accepted (at least read).
Comments on any improvements are wanted. Remember that this
is really not my code. I just made it run on personal
computers using MS DOS.
Dick Keily
Eastman Kodak Company
work: (716)477-1001
unix: ...!seizmo!rochester!kodak!keily